package com.tedu.charging.service.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tedu.charging.service.user.pojo.param.VehicleBindParam;
import com.tedu.charging.service.user.pojo.po.UserVehicleBindPO;
import com.tedu.charging.common.pojo.vo.VehicleVO;

/**
 * @author zjj
 * @description 针对表【charging_user_vehicle_bind】的数据库操作Service
 * @createDate 2023-08-29 17:52:18
 */
public interface IUserVehicleBindService extends IService<UserVehicleBindPO> {
    public Integer insertVehicleBind(VehicleBindParam vehicleBindParam) throws Throwable;

    public VehicleVO getVehicleByUserId(Integer userId) throws Throwable;

    public boolean unBind(Integer userId,Integer vehicleId) throws Throwable;

}
